/* -----------------
* brief
* 1. this is code gen by tools
* 2. mvc code are driver by the model defined with the same filename,
	 for example:
	 there is a Xmodel struct define in xmodel.go file, after the script run (lego model-mvc module_name xmodel)
     it will auto create the code under the module's path
	 m --> xmodel.go
	 v --> view
	 c --> xmodel_ctrl
* 3. you should modify this code if it doesn't satisfy your purpose
*/

package testcase

import (
	httpexpect "github.com/gavv/httpexpect/v2"
	"saas_sys_base/testcase/test_helper"
)

type MiniAppUserLoginUrlParam struct {
	Tid   int64 `url:"tid"`
	AppId int64 `url:"appid"`
}

func PostMiniAppUserLogin(t httpexpect.LoggerReporter, urlParam *MiniAppUserLoginUrlParam, req struct{}, headers map[string]string) *httpexpect.Response{
	resp := test_helper.PostTestUrl(t, "/api/user/miniapp_login", urlParam, req, headers)
	return resp
}

